<!DOCTYPE html>
<html lang="en">
	<head>
		<title>form validate Page</title>
		<meta charset="UTF-8">
		<meta name=description content="">
		<meta name=viewport content="width=device-width, initial-scale=1">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<!-- Bootstrap CSS -->
		<link href="../transform/css/bootstrap.min.css" rel="stylesheet" media="screen">
	</head>
	<body>
	<div class="container">
	<form class="form-horizontal">
	        <fieldset>
	          <legend>form check</legend>
	          <div class="control-group">
	            <label class="control-label" for="input01">Email Input</label>
	            <div class="controls">
	              <input type="text" class="input-xlarge" id="input01">
	              <p id="input01hint" class="help-block">input email address here.</p>
	            </div>
	          </div>
	          <div class="control-group">
	            <label class="control-label" for="input01">Phone input</label>
	            <div class="controls">
	              <input type="text" class="input-xlarge" id="input02" >
	              <p id="input02hint" class="help-block">input phone number here.</p>
	            </div>
	          </div>
			  <div class="control-group">
	            <label class="control-label" for="input01">Name Input</label>
	            <div class="controls">
	              <input type="text" class="input-xlarge" id="input03">
	              <p class="help-block">input user name here.</p>
	            </div>
	          </div>
	          <div class="form-actions">
	            <button type="submit" class="btn btn-primary" >Submit</button>
	          </div>
	        </fieldset>
	</form>
	</div>	
		<!-- jQuery -->
		<script src="../transform/js/jquery.min.js"></script>
		<!-- Bootstrap JavaScript -->
		<script src="../transform/js//bootstrap.min.js"></script>
		<script src="formvalidate.js"></script>
		<script>
		$(".btn-primary").click(function(){
			var mailcheck = checkform.reg('input01','input01hint','e#5.20#Email');
			var usercheck = checkform.reg('input02','input02hint','e#3.20#Url');
			return mailcheck && usercheck;
			})
		//$('#input01');
		</script>
	</body>
</html>